import baseRequest from "./request";

export function selectCategoryDescs(alias: string){
    return baseRequest({
        url: '/project/category/desc',
        method: 'get',
        params: {
            alias
        }
    })
}

export function getCategoryOptions(){
    return baseRequest({
        url: '/project/category/options',
        method: 'get'
    })
}

export function getCategoryTree(){
    return baseRequest({
        url: '/project/category/tree',
        method: 'get'
    })
}